home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / August 96 / Re Fwd Promises < prev    next >
Encoding:
Internet Message Format  |  1996-08-21  |  1.4 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Fwd: Promises
  2. Sent:        8/21/96 10:29 AM
  3. Received:    8/21/96 10:32 AM
  4. From:        Mike Halpin, jalapeno@softharmony.com
  5. To:          Henri Lamiraux, lamiraux@apple.com
  6.              ODF, ODF-Interest@CILabs.ORG
  7.  
  8. >As best I can figure out, ODF does not let me put out promises for the
  9. >FW_kPartStorage FW_EStorageKinds.  Here's where that's a performance
  10. >problem. Let's say I have Rapid-I Button embedded inside ODF Container. I
  11. >select the button, then start to drag. There is no drag feedback for 2
  12. >seconds as the button externalizes its content and its frame's cache to 
  13. >the drag storage unit.
  14.  
  15. The issue here is writing a promise in a part's CloneInto method. When 
  16. the kODPropContentFrame property is detected in CloneInto, and at no 
  17. other time, part's may promise their entire content.  This avoids the 
  18. performance problems you have observed.
  19.  
  20. You are correct, ODF currently does not support this, though it is 
  21. planned for the near future (unfortunately not in the upcoming R2 
  22. release). 
  23.  
  24. The present design of the framework does not lend itself well to 
  25. accomplishing this by overriding the existing behavior. If you are 
  26. interested in doing so, I can probably help you to determine what would 
  27. be necessary, though frankly, it would probably be easier for me to fix 
  28. the framework than for you to figure out how to work around the current 
  29. limitation.
  30.  
  31.  
  32. Mike Halpin
  33.